package com.sophic_tech.hkb.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;


@Data
@TableName("user")
public class UserModel {
   // 用户ID 自增主键
    @TableId(type = IdType.AUTO)
    private Integer id;

    private String username;

    private String phone;

    private String location;
    
    // 用户头像URL 数据库字段 avatarURL
    @TableField(value = "avatarURL")
    private String avatarURL;

    // 用户VIP状态 数据库字段 isVip 0: 非VIP, 1: VIP
    @TableField(value = "isVip")
    private Integer isVip;
}
